<#include "/layout/_layout.ftl" /> <@head title="首页|四眼井|互联网人的乐园 "></@head> <@body 3>
<div class="breadcrumbs"><i class="icon-home"></i>首页>沙龙活动</div>
<div class="mgl-20 mgr-20">
	<#list activitylist.getList() as a>
		<div class="ui-box-content clearfix activity-item">
			<div class="fn-left ui-grid-15">
				<img src="${a.poster!}" width="580" height="300"/>
			</div>
			<div class="fn-right ui-grid-8">
				<div>
					<div class="info-city fn-left">${a.city!}</div>
					<div class="activity-info">
						<span class="info-date">${a.date_time}</span>
			            <span class="info-status-${a.status}">(
				            <#switch a.status>
					            <#case 0>
						            未开始
						            <#break>
					            <#case 1>
						            报名中
						            <#break>
					            <#case 2>
						            已结束
						            <#break>
				            </#switch>
				            )</span>
					</div>
				</div>
				<div class="activity-title">
					<a href="/activity/show/${a.id}">
					${a.title}
					</a>
				</div>
				<div class="activity-content">
					<p>地点：${a.place}</p>

					<p>时间：${a.date_time}</p>

					<p>简介：${a.desc!}</p>
				</div>
			</div>
		</div>
	</#list>
	<div>
		<#include "/layout/_paginate.ftl" />
		<@paginate currentPage=activitylist.pageNumber totalPage=activitylist.totalPage actionUrl="/activity?page=#" urlParas=""/>
	</div>
</div>
</@body>
<@script>
</@script>